package net.lainiao.zhihu.dao;

import net.lainiao.zhihu.common.MyPage;
import net.lainiao.zhihu.model.Account;

import java.util.List;

public interface AccountMapper {
    int deleteByPrimaryKey(String username);

    int insert(Account record);

    int insertSelective(Account record);

    Account selectByPrimaryKey(String username);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);

    List<Account> selectAccountPage(MyPage pageParameter);
}